﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


public class AdvertiseBLL
{
    private readonly string key = "Advertise";
    /// <summary>
    /// 查询广告
    /// </summary>
    /// <returns></returns>
    public Advertise Get()
    {
        AdvertiseDAL dal = new AdvertiseDAL();
        return dal.Get(key);
    }

    /// <summary>
    /// 修改
    /// </summary>
    /// <param name="a"></param>
    /// <returns></returns>
    public int Update(Advertise a)
    {
        AdvertiseDAL dal = new AdvertiseDAL();
        return dal.Update(a);
    }
}
